/**
 * 
 */
package com.duck.client;

import com.duck.base.Duck;
import com.duck.behavior.FlyNoWay;
import com.duck.behavior.Mute;
import com.duck.model.MallarDuck;

/**
 * @author Richard Rodriguez
 * 18/9/2014
 */
public class DuckApp {

    /**
     * @param args
     */
    public static void main(String[] args) {
	Duck duck = new MallarDuck();
	
	duck.display();
	duck.performFly();
	duck.performQuack();
	
	
	duck.setFlyBehavior(new FlyNoWay());
	duck.setQuackBehavior(new Mute());
    System.out.println("\n\n");
	
	duck.display();
	duck.performFly();
	duck.performQuack();
	
    }

}
